package src;

public class Student {
    private String number;
    private String name;
    private String sex;

    private String pro;
    private String grade;
    private String born;
    public Student(){

    };
    public Student(String number,String name,String sex,String pro,String grade,String born){
        this.number = number;
        this.name = name;
        this.sex = sex;
        this.pro = pro;
        this.grade = grade;
        this.born = born;
    }

    public void setData(String number,String name,String sex,String pro,String grade,String born){
        this.number = number;
        this.name = name;
        this.sex = sex;
        this.pro = pro;
        this.grade = grade;
        this.born = born;
    }
    public String textData(){
        return this.number+" "+this.name+" "+this.sex+" "+this.pro+" "+this.grade+" "+this.born;
    }
    public void setName(String name){
        this.name = name;
    }

    public String getName(){
        return name;
    }
    public String getNumber(){
        return number;
    }
    public String getSex(){
        return sex;
    }
    public String getGrade(){
        return grade;
    }
    public String getBorn(){
        return born;
    }

    public String getPro() {return pro;}

}
